package sjtu.ist.warehouse4ws.model;



/**
 * CustFunctions entity. @author MyEclipse Persistence Tools
 */

public class CustFunctions extends Functions implements java.io.Serializable {


    // Fields    

	private int id;
	private String functionid;
	private String processid;
	private String groupId;
	private String versionId;


    // Constructors

    /** default constructor */
    public CustFunctions() {
    }

	/** minimal constructor */
    public CustFunctions(int id) {
        this.id = id;
    } 
    
    public CustFunctions(int id, String functionid, String processid,
			String groupId, String versionId) {
		super(id, functionid, processid, groupId, versionId);
		// TODO Auto-generated constructor stub
	}
    
    public CustFunctions(Functions g) {
		this.id=g.getId();
		this.setFunctionid(g.getFunctionid());
		this.setGroupId(g.getGroupId());
		this.setProcessid(g.getProcessid());
		this.setVersionId(g.getVersionId());
	}

	public CustFunctions(int id, String functionid, String processid) {
        this.id = id;
        this.functionid = functionid;
        this.processid = processid;
    }

   
    // Property accessors

    public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getFunctionid() {
		return this.functionid;
	}

	public void setFunctionid(String functionid) {
		this.functionid = functionid;
	}

	public String getProcessid() {
		return this.processid;
	}

	public void setProcessid(String processid) {
		this.processid = processid;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getVersionId() {
		return this.versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}








}